import random
your = int(input("出拳："))

computer = random.randint(1, 3)
# 石头（1）／剪刀（2）／布（3）
if (your == 3 and computer == 1) or (your == 2 and computer == 3) or (your == 1 and computer == 2):
    print("you win, my=%d com=%d" % (your, computer))
elif your == computer:
    print("平局tie")  # 平局
else:
    print("computer win, my=%d com=%d" % (your, computer))
